package cn.tedu.qxhouserent.house.mapper;

import cn.tedu.qxhouserent.house.pojo.entity.NewsDetail;
import cn.tedu.qxhouserent.house.pojo.vo.NewsDetailListItemVO;
import cn.tedu.qxhouserent.house.pojo.vo.NewsDetailStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface NewsDetailMapper extends BaseMapper<NewsDetail> {

    List<NewsDetailListItemVO> list();

    NewsDetailStandardVO getStandardById(Long id);

}
